package com.sf.dlb.jpa.repository;

import com.sf.dlb.jpa.model.UserMessageInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;




/**
 * 用户消息表 Repository
 *
 * Created by jing.tan on 2018/5/21.
 */
@Repository
public interface UserMessageRepository extends JpaRepository<UserMessageInfo, Long> {
    /**
     * 根据查询-id
     * @param id
     * @return
     */
    UserMessageInfo findById(Long id);
}